package com.skinchange.attr;

import android.view.View;

/**
 * Description:
 * Author: Author
 * Date: 2017-08-08
 * Time: 16:39
 */


public class SkinAttr {

    private String mResName;
    private SkinAttrType mType;

    public SkinAttr(String mResName, SkinAttrType mType) {
        this.mResName = mResName;
        this.mType = mType;
    }

    public String getResName() {
        return mResName;
    }

    public void setResName(String resName) {
        this.mResName = resName;
    }

    public SkinAttrType getType() {
        return mType;
    }

    public void setType(SkinAttrType type) {
        this.mType = type;
    }

    public void apply(View view) {

        mType.apply(view,mResName);

    }
}
